package com.rest;

import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

@Path("/services")
public interface ServicesService {

	@GET
	@Path("/")
	@Produces(MediaType.APPLICATION_JSON)
	List<ApiServices> getServices();

	@GET
	@Path("/service")
	@Produces(MediaType.APPLICATION_JSON)
	ApiRestService getService(@QueryParam("api") String api, @QueryParam("service") String request);

	@GET
	@Path("/version")
	@Produces(MediaType.APPLICATION_JSON)
	String getVersion();

}
